$(function () {
var bt=$('#bt')
bt.click(function() {       
    var q=$("#question").val();
    if( jQuery.trim(q)=='')
    {
      alert("Question is required!");
      return false;
    }   
    var form=$("#faqform");
    form.ajaxForm({success:function(){
     alert("Thanks for your question we will deal with it as soon as possible.");
     location.replace(location.href);
    }});     
    form.submit();     
    bt.attr("disabled",true);
   }); 
});

